/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the koala4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * @Author: GuoYang
 */
package com.koalacloud.koala.zhaikucloud.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 版块分类
 *
 * @Author: GuoYang
 * @date 2022-02-07 15:33:09
 */
@Data
@TableName("mall_panel")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "版块分类")
public class MallPanel extends Model<MallPanel> {

    /**
     * 类目ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "类目ID")
    private Integer id;

    /**
     * 板块名称
     */
    @Schema(description = "板块名称")
    private String name;

    /**
     * 类型 0轮播图 1板块种类一 2板块种类二 3板块种类三 
     */
    @Schema(description = "类型 0轮播图 1板块种类一 2板块种类二 3板块种类三 ")
    private Integer type;

    /**
     * 排列序号
     */
    @Schema(description = "排列序号")
    private Integer sortOrder;

    /**
     * 所属位置 0首页 1商品推荐 2我要捐赠
     */
    @Schema(description = "所属位置 0首页 1商品推荐 2我要捐赠")
    private Integer position;

    /**
     * 板块限制商品数量
     */
    @Schema(description = "板块限制商品数量")
    private Integer limitNum;

    /**
     * 状态
     */
    @Schema(description = "状态")
    private Integer status;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;


}
